<template>
  <el-container>
    <el-header><NavBar activeIndex="0"></NavBar></el-header>
    <el-main><div class="bg-box"></div></el-main>
  </el-container>
</template>

<script>
import NavBar from '@/components/NavBar'
export default {
    name:'home',
    components:{
        NavBar
    }
};
</script>

<style lang="scss" scoped>

.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

.bg-box{
    background-image: url('../../assets/bg.jpg');
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
</style>